import { api } from "@/request";
import {  httpServer, CreateCollectItemProps } from "@/api/api";

// 新增一条收藏数据
export const createCollectItem : httpServer<CreateCollectItemProps> = (data) => {
    return api.post({
        url: `/api/collect/insert`,
        data
    })
}